dic = {0: "剪刀", 1: "石头", 2: "布"}
#dic = {0: "鼠", 1: "猫", 2: "狗", 3: "狼", 4: "豹", 5: "虎", 6: "狮", 7: "象"}


def new_game(player, GPT):
    # print(f'Test player=> {player},GPT => {GPT},差=> {(player - GPT)}')
    if player == GPT:
        print(f'玩家出【{dic[player]}】、机器人出【{dic[GPT]}】 => 平局')
    elif (player - GPT) == 1 or (player - GPT) == -(len(dic) - 1):
        print(f'玩家出【{dic[player]}】、机器人出【{dic[GPT]}】 => 玩家胜出')
    else:
        print(f'玩家出【{dic[player]}】、机器人出【{dic[GPT]}】 => 机器人赢')

    print('-' * 50)


if __name__ == "__main__":
    for play in range(0, len(dic)):
        for robot in range(0, len(dic)):
            new_game(play, robot)
